package com.main.hotel.service;

import com.main.hotel.entity.Room;
import org.springframework.data.domain.Page;

public interface RoomService {
  public int findRoomCount(String room_type);
  public int book(String room_type,String order_id);
  public int findRoomId(String order_id);
  public int cancelBook(String order_id);
  public int addRoom(Room room);
  Page<Room> findAll(int page, int pageSize);
  public int updateRoomStatusByRoom_id(Integer room_id, Integer room_status);
  public int countRoomNum(Integer roomtype_id);
  public String findRoomNum(String order_id);
  public int updateRemarkAndOrder_idByRoom_number(String room_number, String remark, String order_id);
  public Room findByRoom_number(String room_number);
}
